package com.itheima.string;
//字符串录入的比较
import java.util.Scanner;

public class Demo01Scanner {
    public static void main(String[] args) {
        Scanner sc= new Scanner(System.in);
        System.out.println("请输入整数" );
        int s = sc.nextInt();

        System.out.println("请输入字符串");
        String str = sc.next();
        System.out.println(s);
        System.out.println(str);

String s1 = new String ();
char[]chs  = {'a','b','c'};
String s2 = new String (chs);
String s3 = new String ("我的回合");
        System.out.println(s1+s2+s3);
    }
}
